Crate urlencoding[][src]

Structs

Encoded

Wrapper type that implements Display. Encodes on the fly, without allocating. Percent-encodes every byte except alphanumerics and -, _, ., ~. Assumes UTF-8 encoding.

Enums

FromUrlEncodingError

Error when decoding invalid UTF-8

Functions

decode

Decode percent-encoded string assuming UTF-8 encoding.

decode_binary

Decode percent-encoded string as binary data, in any encoding.

encode

Percent-encodes every byte except alphanumerics and -, _, ., ~. Assumes UTF-8 encoding.

encode_binary

Percent-encodes every byte except alphanumerics and -, _, ., ~.